package dao;

import entity.Classes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassesMapper {
    //通过classID获取班级
    Classes getClassesByClassID(String classID);

    //查询全部班级
    List<Classes> getAllClasses();

    //修改班级信息
    boolean updateClasses(Classes classes);

    //删除班级信息
    boolean deleteClasses(String classID);

    //新增班级
    boolean addClasses(Classes classes);

    //查询班级
    List<Classes> getClassesByClassIDORClassName(@Param("classID") String classID,@Param("className") String className);
}
